﻿<Window x:Class="SuperFind.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        WindowStartupLocation="CenterScreen"
        Title="MainWindow" Height="600" Width="800" Icon="{DynamicResource ApplicationIcon}"
        Closing="Window_Closing" WindowState="Maximized"
        >
    <Window.Resources>
        
    </Window.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="20"/>
            <RowDefinition Height="26"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="21"/>
        </Grid.RowDefinitions>
        <Menu Grid.Row="0" x:Name="menu" MenuItem.Click="menu_Click">
            <MenuItem Header="_File">
                <MenuItem Header="E_xit" CommandParameter="exit" InputGestureText="Alt+F4">
                	<MenuItem.Icon>
                		<Image Source="images/menu/mnuExit.png"/>           	
					</MenuItem.Icon>
                </MenuItem>
            </MenuItem>
            <MenuItem Header="_Edit">
                <MenuItem Header="Select _All"/>
            </MenuItem>
            <MenuItem Header="_Tools">
                <MenuItem Header="_Refresh Cache" CommandParameter="refresh_cache" InputGestureText="Ctrl+R">
                    <MenuItem.Icon>
                        <Image Source="images/menu/mnuRefresh.png"/>
                    </MenuItem.Icon>
                </MenuItem>
                <MenuItem Header="Select _Drives" CommandParameter="select_locations"/>
				<Separator/>
                <MenuItem Header="Preferance" CommandParameter="preferences" InputGestureText="Alt+P">
                	<MenuItem.Icon>
                        <Image Source="images/menu/mnuPreferance.png"/>
                    </MenuItem.Icon>
                </MenuItem>
            </MenuItem>
        </Menu>
        <ToolBarTray Grid.Row="1">
            <ToolBar>
                <TextBlock Text="Search" VerticalAlignment="Center"/>
                <TextBox x:Name="txtSearch" Width="250" VerticalAlignment="Center" TextChanged="txtSearch_TextChanged" />
                <ToggleButton Content="All"/>
                <ToggleButton Content="Documents"/>
                <ToggleButton Content="Music"/>
                <ToggleButton Content="Movie"/>
            </ToolBar>
        </ToolBarTray>
        <Grid Grid.Row="2">
            <ListBox x:Name="lstSearchResult" ItemTemplate="{DynamicResource dtSearchResult}" />
        </Grid>
    </Grid>
</Window>
